package com.ruoyi.labdanger.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 申领出库对象 lab_apply_occupation_deliver
 *
 * @author ruoyi
 * @date 2022-03-22
 */
public class LabApplyOccupationDeliver extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private Long id;

    /**
     * 申领详情ID
     */
    @Excel(name = "申领详情ID")
    private Long occupationDetailsId;

    /**
     * 二维码
     */
    @Excel(name = "二维码")
    private String qrCode;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setOccupationDetailsId(Long occupationDetailsId) {
        this.occupationDetailsId = occupationDetailsId;
    }

    public Long getOccupationDetailsId() {
        return occupationDetailsId;
    }

    public void setQrCode(String qrCode) {
        this.qrCode = qrCode;
    }

    public String getQrCode() {
        return qrCode;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("occupationDetailsId", getOccupationDetailsId())
                .append("qrCode", getQrCode())
                .append("createTime", getCreateTime())
                .append("createBy", getCreateBy())
                .toString();
    }
}
